package com.mano.mall;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @Author: zj
 * @Description:
 * @Date: Created in 11:13 2020/11/10
 * @Modified By:
 */
@SpringBootApplication
@EnableEurekaClient
@MapperScan(basePackages = "com.mano.mall.service.mapper")
@EnableAsync
@EnableHystrix
public class SecKillApp {
    public static void main(String[] args) {
        SpringApplication.run(SecKillApp.class,args);
    }
}
